better dialogs, solve btn, reset btn, prev and next working