initialize session modal