Click Event on Bubble Maps

I have this code

import plotly.express as px
df = px.data.gapminder().query("year==2007")
fig = px.scatter_geo(df, locations="iso_alpha", color="continent",
                     hover_name="country", size="pop",
                     projection="natural earth")
fig.show()

I would like that by clicking on the scatter, another graph opens, passing the clicked country as a parameter.

Do you have any suggestions?