Disables drawer buttons when needed