Enhancement of frontend modals and handle content warning modal