fix changing page access in details popup - fixes 7833

including integration test