add action for when door is shut