Call preventDefault on edit button click