Added confirmation dialogs to layer and project deletion