Handle button hide and show logic when saving.

- hide buttons if urls are removed after save
- show buttons if urls are added after save