Fixed part of the problem with the access rights window closing when saving.