Adds close session button, among other things.