Remove form from modal templates