How to integrate Jira ScreenshotDialog?

How to integrate Jira ScreenshotDialog?