Fix validation of PathInputPanel - chosen path should be validated only on exiting the panel, not on entering the panel