delete debugger
change onClose-Methode so that migration of components work