Update adedit behavior when opening a new file