saving and delete buttons on vendor dialog