Add close command

Add close command : model + view