Hide Modal when Back button of browser is pressed

It would be better if there is any way to do it in LiveView.