modal template change to support sizes