Added header, footer, caption and spinner to modal component