Demonstrating the use of Android dialogs. Thanks to http://www.androidbegin.com/tutorial/android-dialogfragment-tutorial/