fixing wrong path for new session in modal