#6 Added confirmation dialog before finishing DetailActivity.
Closes #6: Merge branch 'confirm_discarding_changes_before_canceling_detail'