implement donate dialog logic