MySliding and AlertDialog to commit