Add support for tracking unsaved changes on page