When we deal with modal form submission we can not call optional_param inside the form class because it does not have information from the AJAX form submission