added way to close modal