just to add to this, i notice sometimes if the camera is just right it will open the notice boards that some banks have too. use this to close:
//close noticeboard
RS2Widget noticeBoard = script.getWidgets().get(220, 16);
if(noticeBoard != null && noticeBoard.isVisible()) {
noticeBoard.interact("Close");
}