Fixed stupid modal hide issue