Caps Lock Extension and VOverlay deprecated

I am using the CapsLockWarningConnector example from the Book of Vaadin p526-527. As of some recent Vaadin version (I tried with 7.6.2) I get that VOverlay has been deprecated. Is this extension still safe to use? Is there a preferred new way to do this?