dock:: using undock instead of disable for runtime app