President Trump Donald John TrumpBiden says voters should choose who nominates Supreme Court justice Trump, Biden will not shake hands at first debate due to COVID-19 Pelosi: Trump Supreme Court pick 'threatens' Affordable Care Act 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 Trump Melania TrumpWatchdog confirms State Dept. canceled award for journalist who criticized Trump Ginsburg becomes the first woman to lie in state in the Capitol Rabbi memorializes Ginsburg: Her dissents were 'blueprints for the future' 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.

My God -- Trump started to leave the event without even signing the opioid bill, but turned after he was reminded to sign it by Melania pic.twitter.com/jzqBfWeMow — Aaron Rupar (@atrupar) October 24, 2018

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.