ide/designer: Fixed closing Designer window when source file in use by Debugger