respect next query param after edit page