Added open and close form methods