If some security setting is applied to PDF (prevent modifying the PDF), then you won't be able to add or remove pages from your PDF document. In that case, you need to remove the PDF restriction first. You have to enter the correct password that you set for applying security to PDF to remove the restriction.