added empty edit button function