double-click to edit: check for edit URL before attempting to redirect