Simplified adding widgets to dialogs