flash with callback and styles