attempt to make alerted sidebar a function call