hide PhotoPickDialog after slected and support different ppi dimen