style modal and enable closing feature