Created add/edit equipment functionality.