Added button and alert dialog.