Add custom event and callback for show()