edit page condition