added fail dialogue