Only allow one line to be in editing mode at a time