When it's running, the notepad is toplevel active window, and when I drag and move it, the main dialog window can't be seen. I'm wondering how I can refresh the main dialog window so that the notepad window acts just like a modal dialog from the main dialog.