modal header and footer fix