prevent multiple sketch windows opening (fixes 2506)