validators and file dialog working