close toolbar via message-based communication