How do I find out whether a form has been changed? I have a synchronize button that should show a hint if it is pressed and there are unsaved changes