Modal Dialog closes even if validations are triggered
I have a requirement to validate a set of data entered on a modal dialog under dashboard.
Upon submission the validations are triggered but doesn't stop from closing the window. Is there any way to retain validation messages on the modal dialog without closure.
(This also happens in OOTB Bulk Action - where upon clicking transfer a modal dialog comes up asking details and validates the data but doesn't restrict the user from submitting the modal dialog)
***Edited by Moderator Marissa to update platform capability tags****