Changed edit vehicles window to also take into account mandatory fields