I am not at all familiar with this code... but why does 'hide-modal' not call _hideModal?