remove mdi detach