Converted product details modal to directive

Since there are going to be some changes made to this modal for
categories/tags, I figured it would be best to pull this into its own
file.