created a class that draws add/edit window