Refactor get_user_modal_via_ajax()