use gauge in dialog inteface