Added callback via trigger to window

removed testing
removed original callback