Connect a file drop observer to the main window