Styling Manage Flags dialog and some basic functionality