Connect FormClosed event to handler

fixes luckyrat/KeeFox#254

The event handler that removes the dialog from the global window manager was just not wired up. Surprised no one ever noticed before.