made edit window, trying to add it to edit button