add modal before the paiement process; update pdf viewer