Don't hide close X in modal when cancel button is hidden