Observed behavior
We currently have two parallel implementations of the Boolean Maps properties editing logic, one for the Quick Edit Modals introduced in #4386 and another in the current EditModal component. (e.g. this and this). This can lead to inconsistencies if one of them changes in the future, and the other is not updated appropriately.
Expected behavior
The editing logic should be separated from the EditBooleanMapModal and EditModal and placed in a common place so that both components can use it.