bugfix for Warn user on leaving page with modified/unsaved form content