added dialogs for pay button