Added validations for non-empty input data; added confirmation windows in edit and add forms