Fix empty MIDI import panel when closing non active score tab
Merge pull request #1310 from trig-ger/midi_fixes

Fixes for MIDI import