To show a popup with db validation messages for a form