Added new buttons, added flash dialog