onclick verification for deletion and activation did not work