Linked the disabling of the Add / Edit buttons