validate the approve and reject modal.