President TrumpDonald John TrumpJustice Department preparing for Mueller report as soon as next week: reports Smollett lawyers declare 'Empire' star innocent Pelosi asks members to support resolution against emergency declaration MORE on Wednesday signed sweeping legislation meant to curb the nation's opioid epidemic, but he appeared to be reminded to sign the legislation by first lady Melania TrumpMelania TrumpTrump, Harris, Ocasio-Cortez, Charlie Kirk among Twitter's most-engaged users The Hill's 12:30 Report: Sanders set to shake up 2020 race Fashion designer Karl Lagerfeld dies at 85 MORE.

ADVERTISEMENT

A viral video from the signing event showed Trump entering the East Room of the White House to sign the legislation, but also appeared to show him making his way out of the room before signing the bipartisan bill.

Melania Trump appeared to direct her husband to return to sign the bill, prompting laughter from those in the room. 

The bipartisan bill, which was passed by Congress earlier this month, includes dozens of treatment and enforcement provisions authored by hundreds of lawmakers representing states devastated by the opioid epidemic. 

The bill also reauthorizes funding for the 21st Century Cures Act and lifts some restrictions on using Medicaid funding for opioid treatment. 

Trump, last year, went viral for a similar incident after he left the Oval Office without signing two new executive orders aimed at tackling longstanding concerns around trade enforcement.