When a circuit is dirty (i.e. modified since last save), allow the user to save the circuit if he clicked delete circuit tab.