midi registering port and channel on dismiss