Remove panel when dismissing command-mode-input view