Handle Android Back key
Adjust dialog position