Make sure the edit fields window is clickable after closing it

We register a rootScope function that is called when the close button is clicked
This fixes #15