Fixed a bug in the site edit modal