stylized validation of modal