code for PR app modal -->