bring window to front and block job until window is closed