Fixed bug in edit marker modal