Hide Blockly on Success/Failure

Hiding Blockly the way that the closeBlocklyBtn functionality works. @BrettASwift @kadst43 
Error is gone but the blockly window remains..