@Override
public void onAction(final PDialogBox dialogBox, final String option) {
if (POption.YES_OPTION.equals(option)) {
dialogBox.hide();
final UserLoggedOutEvent userLoggedOutEvent = new UserLoggedOutEvent(this, userLogged);
fireEvent(userLoggedOutEvent);
} else {
dialogBox.hide();
}
}