setting model.show to false on closeClick issue #772