Completing Modal With JS functionality.