Adds close session panel.

Implements requirement number 5.