fix case statement
add modal to edit view