delete button in edit app dialog is working