Porting polymer_ui_overlay to dart for my studying.