disable right menu buttons