add event handling of "enter" and "pay" button,add inputting credit number dialog.