added form support to modal