[BUGFIX] Fix Bug #57961: Gallery edit link now correctly sets the gallery in the session state, so that the correct albums are shown in the album list