Make the clear dialog do something