fix semantic-ui modal hide bug