Adding alert dialog for delete most recent button.