Execute on selection in case document has issues.