test modal dialog login