Re-render the dialogue states when a state is removed and repaint the connections