Refactoring payment modal to allow purchases from multiple screens within the app