get function call and show on dialog