Added confirmation dialogs for delete and save