Added support for oncancel callback
Alert dialog showed before unloading webapp
Policy file loaded only one time
Using policy last-modified date for policy accept
Check validity of policy using modified date against user accepted date