Enabling and disabling dock