Fixed BaseDialog validation on submit and added support for input type date to dateval