navbar working with new/edit