fixed #185

Remove hide event attached to document, as to avoid issues when used with other components.