revise show dialog