Add event handlers for button on p3 modal