made it so edit tab remains open after new component creation (hallelujah)