Add close actions