Re-factored modal & datatable grid;

Signed-off-by: ashwinh <ashwinh@cybage.com>