fixed leave page alert for pages that dont have a deform form