moving dialog layout to views folder