Add handler for OnVesselWasModified to handle undocking