Add function and action to append html content in footer
register & enqueue plugin script to call remodal and handle ajax