add support for notifying the user if a layer is already added to the map and if a layer that they want to remove is not in the current map port