change the index post-box to modal