Add delete locations action hook.

Fix delete multiple locations.