SwitchYard: fixed radio button and editor saving

Before saving the editor you have to close all shells. Otherwise the instance freezes.