correcting modal form