DDF-51: Improved styling of metacard modal.

Added a modal header and footer to make the style more consistent.
Cleaned up CSS of metacard modal.