modal popup improvement