preparations for payment dialog popup