added validation to table date dialogs