Handling dynamic page modifications