Remove event from edit button to resolve issue.