specify event name when unbinding from BeforeUnload on editor manager

when unbinding from BeforeUnload event on editor manager, make sure to specify event name