added modal form and buttons