added modal window, table generator