Show alert for unsaved publisher data

A js file added, which will show a popup alert if there is any text/image/location data in publisher and user wants to reload page without saving those.