Fixed undefined can't call remove() method.

Fixed undefined can't call remove() method when calling the close_other form the context menu.
Context menu now hides correctly after finishing the call.