Fixes Bug #47 - provides ability to tie into back button and optionally cancel form closing event