Fixed modal show/hide events