Generating source-code Close button bug

When the close button on the Generating source-code form is clicked it quite often closes an alternative application tab. This is incredibly annoying when working on multiple applications and having one of them close impromptu.