Bugfix gallery edit showall/dontshowall mode