Added dialogs for adding and removing buttons