Created dialogs for all gui components including nested dialogs and undo functionality.