Ahmad, if the code that you want to run is not page-related but rather data-related, you could use the Before Remove or After Remove hook.
Ahmad, if the code that you want to run is not page-related but rather data-related, you could use the Before Remove or After Remove hook.