fix style problem in change resource type modal