sync editing place and mode

when you add new mode the chose mode button change text to the new
entered mode
the same for place