Changes on_close=None in add_sideframe_button().