fix issue when popup form is submitted and opener is not refreshed correctly