refactor(factory): simplify dialog creation using config object
refactor(factory): simplify dialog creation using config object

stephanebachelier/marionette.dialogs,stephanebachelier/marionette.dialogs