Pre-heat oven to 350°F. Butter the bottom of a rimmed baking dish.
In a large skillet over medium/high heat. Add the oil to the skillet along with the burger and grated onion. Breaking up the ground beef with a wooden spoon or spatula. Season with the salt, pepper and garlic powder. Once beef is cooked through remove from the heat. Be sure to remove all the fat, using a spoon or paper towels.
in a small bowl add the mayo and mustard. Stir till combined. Add this mixture to the cooked beef. Stir till combined.
Slice the buns in half. Place the bottom half in your prepared baking dish. Place the sliced American cheese on the bottom half of the buns. Add the beef mixture all over the cheese making sure to get to all the edges. and making it even. Place a dill pickle onto each bun and then top with shredded cheese and the top portion of the buns.
melt the butter and brush onto the tops of the buns. Sprinkle with sesame seeds. Bake at 350°F for 12-15 minutes. The cheese should be melted and the tops golden brown.