refactoring cancel button on data extraction fields to show edit row again