Get public sharing modal working