added modal option