page modal fixes