[hints] Restructured DismissHintForm.