Change grid dimensions and layout edit form