support for url past in the main window
support for url past in the main window