messo solo portrait, bug alertdialo

Signed-off-by: Sebastiano Mariani <seba0691@gmail.com>