diff --git a/WebContent/html/webpages/returnPage.jsp b/WebContent/html/webpages/returnPage.jsp
index 284f415..cb5976e 100644
--- a/WebContent/html/webpages/returnPage.jsp
+++ b/WebContent/html/webpages/returnPage.jsp
@@ -136,7 +136,7 @@ MySQLAccess myaccess = new MySQLAccess();
//String userID =
int counter = 0;
//9 is just for testing purposes. Should be returning 4 devices at the moment.
-RentedDevice[] mydevices = myaccess.getUserDevices("9");
+RentedDevice[] mydevices = myaccess.getUserDevices("19");
String deviceString = RentedDevice.arrayToString(mydevices);
%>
@@ -164,7 +164,9 @@ $('input.deviceCheckbox').click(selectBox);
$('#returnbutton').click(returnDevice);
$('#closeOrderForm').click(hidePopup);
-$(function(){$('#tabledisplay').DataTable();})
+//event listeners to escape modal
+window.onkeydown = function(e){if (e.keyCode == 27){hidePopup();}}
+window.onclick = function(e){var modal = document.getElementById('orderInfoModal'); if(e.target == modal) modal.style.display = "none";}
//This should make the device array of retrieved devices
function makeDeviceArray(){