It's fine to skip over dialogue as long as you are not removing important context.
Example 1-
"Can you get the salt and pepper, dear?" Alen's mother asked.
"Sure thing, mom," Alen replied.
vs.
"Sure thing, mom," Alen replied.
This is a pretty egregious example, but if you're removing all the necessary context to wonder why Alen is even saying this to his mom, then it'll just make things confusing. An example of where to remove it would probably be the following.
Example 2-
"Can you get the salt and pepper, dear?" Alen's mother asked.
"Sure thing, mom," Alen replied.
vs.
"Could you please acquire the salt and pepper for me and your father, my precious son?" Alen's mother asked. "Both of them are approximately two centimeters away from where your hand currently rests on the table, and each container is labeled with the exact name of the substance that they contain. Now reach out your hand to grab it and bring it to me before my pasta gets cold."
"Sure thing, mom," Alen replied. "I will acquire the salt and pepper that are approximately two centimeters away from where my hand currently rests on the table. I can see that each container is labeled with the exact name of the substance that they contain. Now I shall reach out my hand to grab it and bring it to you before your pasta gets cold."
You want your writing to be as concise as possible and not just a jumble of word salad, so it's perfectly fine to cut out what you think you don't need. Just try not to remove important context. Your example makes sense in both scenarios, so it's fine either way. It's a matter of preference and a matter of how much time you want to waste on any one particular scene. If it adds nothing to your story, remove it.