Added modal functionality

Now when you click a link a preview modal will be shown allowing you to
preview the ticket text and link the current ticket to that problem id.