fixing php popup.