fix back button when editing affiliates